package easyexcel.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * describe:
 *
 * @author huxingjie
 * @date 2019/09/29
 * @since 4.0
 */
@NoArgsConstructor
@Builder
@AllArgsConstructor
@Data
public class Person {
    @NotNull(message = "名称不能为空")
    @ExcelProperty("名称")
    private String name;

    @ExcelProperty("年龄")
    private Integer age;

    private Integer bir;

    private String msg;
}

    